package com.htpro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htpro.pojo.Film;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FilmMapper extends BaseMapper<Film> {
    public List<Film> getAllFilm();
    public List<Film> getOneFilm(Integer id);
    public List<Film> getFilmByTypef(Integer id);
    public List<Film> gerFilmByhighDate();
    public List<Film> gerFilmBylowDate();
    public List<Film> getFilmByMohuName(String name);

}
